package com.yykj.hospital.server.model.repository.bank;

import com.yykj.hospital.server.model.entity.bank.DoctorBankCard;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DoctorBankCardRepository extends JpaRepository<DoctorBankCard,Integer> {
    DoctorBankCard findFirstByDoctorIdAndAccountNo(String doctorId,String accountNo);
    List<DoctorBankCard> findAllByDoctorId(String doctorId);
}
